#include "stdafx.h"
#include "core/task.h"

namespace natrium {
	namespace core {
		Task::TaskBeginning::TaskBeginning(const std::shared_ptr<Task>& t):
			mTask(t)
		{
		}

		Task::TaskCompleted::TaskCompleted(const std::shared_ptr<Task>& t):
			mTask(t)
		{
		}

		Task::Task(unsigned int flags):
			mTaskFlags(flags)
		{
		}

		Task::~Task() {
		}

		void Task::setTaskFlags(unsigned int newFlags) {
			mTaskFlags = newFlags;
		}

		unsigned int Task::getTaskFlags() const {
			return mTaskFlags;
		}
	}
}